Skip to content

Conversation

@komamitsu
Copy link
Contributor

parser.getCurrentName() should be compared using String#equals.

@randallwhitman
Copy link
Contributor

By inspection/review, this patch looks correct.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch - will getCurrentName ever be null in this case?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes. I added null check.

@climbage
Copy link
Member

@randallwhitman Looks good to me - merge?

@randallwhitman
Copy link
Contributor

Passes code review. Do we have any tests to run before merge? @climbage @smambrose

@randallwhitman
Copy link
Contributor

Thanks @komamitsu !

randallwhitman added a commit that referenced this pull request Aug 11, 2015
Fix wrong String comparison in EnclosedJsonRecordReader
@randallwhitman randallwhitman merged commit 106b1a7 into Esri:master Aug 11, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants